/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


function doAjaxFind() {

    // get the form values

    $('#results').html("Please wait...");

    $.ajax({
        type: "POST",
        url: "find.do?method=findPerson",
        data: $('#credit-find').serialize(),
        success: function (response) {

            // we have the response

            $('#results').html(response);

        },
        error: function (e) {

            alert('Error: ' + e);

        }

    });
    return false;

}